﻿@model CSCSN.EntitiyModels.ApplicationTask

@{
    ViewData["Title"] = "Delete";
}

<h1>删除</h1>

<h3>确认取消此条任务吗？</h3>
<div>
    <hr />
    <dl class="row">
        <dt class="col-sm-2">
          名称
        </dt>
        <dd class="col-sm-10">
            @Html.DisplayFor(model => model.Name)
        </dd>
        <dt class="col-sm-2">
           分值
        </dt>
        <dd class="col-sm-10">
            @Html.DisplayFor(model => model.Score)
        </dd>
        <dt class="col-sm-2">
           开始时间
        </dt>
        <dd class="col-sm-10">
            @Html.DisplayFor(model => model.BeginTime)
        </dd>
        <dt class="col-sm-2">
           时长
        </dt>
        <dd class="col-sm-10">
            @Html.DisplayFor(model => model.Duration)
        </dd>
        <dt class="col-sm-2">
           地点
        </dt>
        <dd class="col-sm-10">
            @Html.DisplayFor(model => model.TaskSites.Name)
        </dd>
        <dt class="col-sm-2">
          类型
        </dt>
        <dd class="col-sm-10">
            @Html.DisplayFor(model => model.ApplicationTaskTypes.Name)
        </dd>
    </dl>
    
    <form asp-action="删除">
        <a href="@Url.Action("Delete","Mission",new { id=Model.Id})"><input type="text" value="确认" class="btn btn-danger" /></a>
         |
        <a asp-action="Index">返回管理页</a>
    </form>
</div>
